Replace sysctl.physinfo.sockets_per_node with more directly useful
authorKeir Fraser <keir@xensource.com>
Fri, 19 Oct 2007 17:00:10 +0000 (18:00 +0100)
committerKeir Fraser <keir@xensource.com>
Fri, 19 Oct 2007 17:00:10 +0000 (18:00 +0100)
commit07f557cb63359808a29d14b2359f5c9c3e2c4973
tree80354b497066ccea8b09834658d49d9a76ff7fed
parentf475a034a7560a64416f9fde0f035b74ef3ac2ea
Replace sysctl.physinfo.sockets_per_node with more directly useful
sysctl.physinfo.nr_cpus. This also avoids miscalculation of
sockets_per_node by Xen where the number of CPUs in the system is
clipped.
From: Elizabeth Kon <eak@us.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
13 files changed:
docs/man/xm.pod.1
tools/python/xen/lowlevel/xc/xc.c
tools/python/xen/xend/XendNode.py
tools/python/xen/xm/main.py
tools/xenmon/xenbaked.c
tools/xenstat/libxenstat/src/xenstat.c
tools/xentrace/xentrace.c
tools/xm-test/lib/XmTestLib/Xm.py
tools/xm-test/lib/XmTestReport/OSReport.py
xen/arch/ia64/xen/dom0_ops.c
xen/arch/powerpc/sysctl.c
xen/arch/x86/sysctl.c
xen/include/public/sysctl.h